<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <title></title>
	<link type="text/css" rel="stylesheet" href="__PUBLIC__/Index/css/base.css"/>
    <script type="text/javascript" src="__PUBLIC__/Index/js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Index/js/index.js"></script>
    <script type="text/javascript">
    var imgurl="__PUBLIC__/Index/images/";
    </script>
</head>

<body>
<!--顶部图片-->
<!--头部上部分开始-->
	<div id="head">
		<div id="head_top">
        	<div id="head_top_left">
            	<span id="xiaoniao"></span>
                <a href="#">红孩子</a> |
                <a href="#">苏宁客户端</a> |
                <a href="#">收藏</a> |
                <span>您好欢迎来到苏宁易购！</span>
                <?php if(isset($_SESSION['username'])): ?><a><?php echo ($_SESSION['username']); ?></a>
                    <a href="<?php echo U('Login/LoginOut');?>" target='_parent'>退出</a>
                <?php else: ?>
                <a href="<?php echo U('Login/index',array('mark'=>1));?>" target='_parent' id='denglu'>登录</a>
                <a href="<?php echo U('Regist/index');?>" target='_parent' id='zhuce'>注册</a><?php endif; ?>
            </div>
            <div id="head_top_right">
            	<a <?php if(isset($_SESSION['uid'])): ?>href="<?php echo U('Vip/index');?>" <?php else: ?> href="<?php echo U('Login/index');?>"<?php endif; ?> target="_parent" >我的订单</a>
            	<a href="#" class="head_right_b">我的苏宁<span></span></a>
                 <div id="head_top_one" class="head_top_list">
                	<a href="#">我的优惠券</a>
                    <a href="#">收藏夹</a>
                    <a href="#">短消息</a>
                </div>
            	<a href="#">在线客服</a>
                
            	<a href="#" class="head_right_b" style="border-bottom:none;height:20px;">服务中心<span></span></a>
                <div id="head_top_two" class="head_top_list" style="top:21px;">
                	<a href="#">服务易栈</a>
                    <a href="#">帮助中心 </a>
                    <a href="#">退换货</a>
                    <a href="#">安装维修</a>
                    <a href="#">投诉</a>
                </div>
            	<a href="#" class="head_right_b">网址导航<span></span></a>
                <div id="head_top_three" class="head_top_list">
               	 	<p style="color:#FF741C;"><span style="background:url(__PUBLIC__/Index/images/comBg1023.png) no-repeat -280px -120px;"></span>购物</p>
                	<a href="#">商品分类</a>
                    <a href="#">随便逛逛</a>
                    <a href="#">礼品汇</a>
                    <p style="color:#85BE13;"><span style="background:url(__PUBLIC__/Index/images/comBg1023.png) no-repeat -300px -120px;"></span>生活</p>
                	<a href="#">手机充值</a>
                    <a href="#">水电煤</a>
                    <a href="#">保险</a>
                    <a href="#">彩票</a>
                    <a href="#">机票</a>
                    <a href="#">酒店</a>
                    <p style="color:#EF4782;"><span style="background:url(__PUBLIC__/Index/images/comBg1023.png) no-repeat -320px -120px;"></span>服务</p>
                	<a href="#">旗舰店</a>
                    <a href="#">城市专区</a>
                    <a href="#">客户端</a>
                    <a href="#">礼品卡</a>
                    <a href="#">社区</a>
                    <a href="#">积分商城</a>
                    <a href="#">手机应用</a>
                    <strong>服务热线：<span style="display:inline; color:#FF6600; clear:both; font-weight:800;background:none;">4008-189-189</span></strong>
                </div>
            </div>
        </div>  
    </div> 
<!--头部部分结束-->
<!--导航条部分开始-->


	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Index/css/shopbus.css">
	<script type="text/javascript" src='__PUBLIC__/Index/js/shopbus.js'></script>
	<script type="text/javascript">
		var PUBLIC="__PUBLIC__/Index/";
		var order="<?php echo U('Order/index');?>";
		var check_login="<?php echo U('check_login');?>";
	</script>
</head>
<body>
	<div id='box'>
		<div id='shop_bus_banner'>
			<div id='logo'><img src='__PUBLIC__/Index/images/snlogo.png'/></div>
			<div id='shop_menu'>
			</div>
			<p>正品行货，全国联保，尽享购物乐趣 ！</p>
		</div>
		<div id='shop_content'>
			<?php if(!isset($_SESSION['car'])):?>
			<div id='shop_bus_pic'></div>
			<div id='shop_text'>
			    <h4>您的购物车还是空的，赶紧行动吧！您可以：</h4> 
			    <p>您还未登录，可能导致购物车为空，请<a href=''>马上登录 </a></p>
			    <p> 马上去 <a href=''>随便逛逛</a></p>
			</div>
			<?php else:?>
			<table/>
			<tr>
				<th><input type='checkbox'name='all'/>全选</th>
				<th>商品信息</th>
				<th>易购价</th>
				<th>数量</th>
				<th>操作</th>
			</tr>
			<?php if(is_array($data)): foreach($data as $key=>$v): ?><tr>
					<td><input type='checkbox' checked='checked'/></td>
					<td style="text-align:left;"><a class='pic_txt' href='#' title="<?php echo ($v["name"]); ?>(<?php echo ($v["guige"]); ?>)"><img with='50px' height='50px' src="__ROOT__/Uploads/List/<?php echo ($v["listpic"]); ?>"/></a><a class='pic_txt' href="<?php echo U('Show/index',array('id'=>$v['gid']));?>" title="<?php echo ($v["name"]); ?>(<?php echo ($v["guige"]); ?>)"><?php echo ($v["name"]); ?>(<?php echo ($v["guige"]); ?>)</a></td>
					<td class='price'>¥<?php echo (number_format($v["price"],2)); ?></td>
					<td><a title='减一件' class='down' href="<?php echo U('editCar',array('lid'=>$v['lid'],'type'=>1));?>">-</a><input type='readonly' value='<?php echo ($v["num"]); ?>' name='count'/><a title='加一件' class='add' href="<?php echo U('editCar',array('lid'=>$v['lid'], type=>2));?>">+</a></td>
					<td><a class='del' href="<?php echo U('editCar',array('lid'=>$v['lid'],'type'=>3));?>">删除</a></td>
				</tr><?php endforeach; endif; ?>
			<tr><td colspan='5'>
				<div id='pay'>
					<a class='kong' href="<?php echo U('editCar',array('type'=>4));?>">清空购物车</a>
					<div id='zonghe'>
						<p><b>商品总金额：</b><b class='allprice'>¥<?php echo (number_format($allprice,2)); ?></b></p>
						<p><a href='#' class='go_on'><<继续购物</a><a class='gopay'></a></p>
					</div>
				</div>
			</td></tr>
			</table>
			<?php endif;?>
		</div>
		<div id='tehui_box'>
			<div id='tehui_banner'>
				<ul>
					<li>易购特惠</li>
					<li class='shoucang'>我的收藏</li>
				</ul>
			</div>
			<div id='tehui_content'>
				<ul>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000102571954_ls1.jpg'/></a>
						<p><a href=''>TOSHIBA MSD-C16-NR-TW CLASS 4 MICRO SDHC CARD  </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000102571954_ls1.jpg'/></a>
						<p><a href=''>TOSHIBA MSD-C16-NR-TW CLASS 4 MICRO SDHC CARD  </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000102571954_ls1.jpg'/></a>
						<p><a href=''>TOSHIBA MSD-C16-NR-TW CLASS 4 MICRO SDHC CARD  </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000102571954_ls1.jpg'/></a>
						<p><a href=''>TOSHIBA MSD-C16-NR-TW CLASS 4 MICRO SDHC CARD  </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000103326132_ls1.jpg'/></a>
						<p><a href=''>九维液晶（平板）通用型电视挂架SN6073MF   </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000103326132_ls1.jpg'/></a>
						<p><a href=''>九维液晶（平板）通用型电视挂架SN6073MF   </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000103326132_ls1.jpg'/></a>
						<p><a href=''>九维液晶（平板）通用型电视挂架SN6073MF   </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000103326132_ls1.jpg'/></a>
						<p><a href=''>九维液晶（平板）通用型电视挂架SN6073MF   </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000101360127_ls1.jpg'/></a>
						<p><a href=''>尼康数码单反相机D3100KIT（AF-S DX   </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000101360127_ls1.jpg'/></a>
						<p><a href=''>尼康数码单反相机D3100KIT（AF-S DX   </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000101360127_ls1.jpg'/></a>
						<p><a href=''>尼康数码单反相机D3100KIT（AF-S DX   </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000101360127_ls1.jpg'/></a>
						<p><a href=''>尼康数码单反相机D3100KIT（AF-S DX   </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
				</ul>
				<div id='control_btn'><span class='btn_first'>1</span><span>2</span><span>3</span></div>
			</div>
			<div id='shoucang_box'>
				<p>请点击此处<a href=''>登录</a>以方便查看你收藏的商品。</p>
			</div>
		</div>
	</div>

	<!--弹出登录框-->
	<div id='login' style="z-index:700">
		<div id='login_title'><h2>您尚未登录苏宁易购</h2><span class='close'>X</span></div>
		<div id='login_banner'><a class='deng'>登录</a><a>注册</a></div>
		<div id='login_content'>
			<form method='post' action="<?php echo U('Car/login');?>">
				<p>用户名：<input type='text' name='username'/></p>
				<p>密&nbsp;&nbsp;码：<input type='password' name='pwd'/></p>
				<p>验证码：<input type='text' name='verify' class='verify'/><span class='code_img'><img src="<?php echo U('verify');?>"/>换一换</span></p>
				<p><input type='submit' class='deng_btn' value='登录'><a href=''>忘记密码？</a></p>
			</form>
		</div>
	</div>
	<div></div>


    <link type='text/css' rel="stylesheet" href="__PUBLIC__/Index/css/foot.css"/>
<div id="footer_bottom3">
	<p><a href="#">关于苏宁易购</a>| <a href="#">供应商入驻</a>| <a href="#">苏宁官网<a>| <a href="#">红孩子
	</a>| <a href="#">联系我们</a>| <a href="#">诚聘英才</a>| <a href="#">友情链接</a>| <a href="#">广告联盟</a>| <a href="#">用户体验提升计划</a>
	</p>
    <p>Copyright© 2002-2012 ，苏宁电器版权所有 苏ICP备10207551号 <a href="#">苏B2-20100316 出版物经营许可证苏A零字第378号</a></p>
    <p style="margin-top:20px;margin-bottom:20px;">
     <a href="#"><img src="__PUBLIC__/Index/images/morelogo5.png"/></a>
     <a href="#"><img src="__PUBLIC__/Index/images/morelogo1.png"/></a>
     <a href="#"><img src="__PUBLIC__/Index/images/morelogo2.png"/></a>
     <a href="#"><img  src="__PUBLIC__/Index/images/morelogo6.png"/></a>
     <a href="#"><img src="__PUBLIC__/Index/images/morelogo7.png"/></a>
    </p>
</div>
</body>
</html>